package com.sss.day35_mvc_mybatis.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 全世界我最爱朴彩英！
 *
 * @Author sss
 * @Create 2023/11/30 17:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Emp {
    private int id;
    private String username;
    private int age;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
}
